

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: ShenYang newtribe.external Corp .</p>
 * @author fuwei ,fuw@newtribe.external.com
 * @version 1.0
 */

public class RdpServer extends Server{

  private int timout = 0 ;
  private int MAX_PROCESSORS = 10 ;
  private int port = 9000 ;
  public static final String  SERVER_NAME ="Newtribe RDP Server" ;


  /**
   * get timeout times
   * @return
   */
  public  int getTimeOut() {
    return  this.timout ;
  }
  /**
   * get max processors
   * @return
   */
  protected  int getProcessors() {
    return this.MAX_PROCESSORS ;
  }
  /**
   * get configed listen port
   * @return
   */
  protected  int getListenPort() {
    return this.port ;
  }
  /**
   * get concrete service name .
   * @return
   */
  protected  String getServiceName() {
    return SERVER_NAME ;
  }

  /**
   *  create a new Processor class .
   */
  protected  Processor newProcessor() {
    return new RdpProcessor(this ,sequence) ;
  }


}